package com.hzncc.flowable_diboot.service.refundmanage;

import com.diboot.core.vo.Pagination;
import com.hzncc.flowable_diboot.dto.refundmanage.RefundContractDTO;
import com.hzncc.flowable_diboot.entity.refundmanage.RefundContract;

import com.diboot.core.service.BaseService;
import com.hzncc.flowable_diboot.payment.dto.PaymentContractDTO;
import com.hzncc.flowable_diboot.payment.vo.OldReceiveListVO;
import com.hzncc.flowable_diboot.payment.vo.PaymentContractListVO;
import com.hzncc.flowable_diboot.payment.vo.SapPaymentContractListVO;
import com.hzncc.flowable_diboot.vo.refundmanage.RefundContractDetailVO;
import com.hzncc.flowable_diboot.vo.refundmanage.RefundContractListVO;
import com.hzncc.flowable_diboot.vo.refundmanage.SapRefundContractListVO;

import java.util.List;
import java.util.Map;

/**
* 合同退款 相关Service接口定义
* @author MyName
* @version 1.0
* @date 2024-11-11
* Copyright © MyCorp
*/
public interface RefundContractService extends BaseService<RefundContract> {

    List<SapRefundContractListVO> getSapRefundContract(String sapCustomerId);

    OldReceiveListVO getOldReceive(String sapCustomerId);

    List<RefundContractListVO> getRefundContractList(RefundContractDTO queryDto, Pagination pagination);

    Boolean createRefundContract(RefundContractDetailVO refundContractDetailVO);

    Boolean updateRefundContract(RefundContractDetailVO refundContractDetailVO);

    Boolean updateRefundContractStatus(String id,String status);

}